package com.wlz;

import org.apache.dubbo.common.URL;

/**
 * @author wlz
 * @date 2022-07-13  9:25 下午
 */
public class CarWrapper implements Car{

    private Car car;

    public CarWrapper(Car car) {
        this.car = car;
    }

    @Override
    public String getCarName(URL url) {
        System.out.println("CarWrapper ......");
        return car.getCarName(url);
    }

    @Override
    public String sayHell() {
        return null;
    }
}
